#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>

int main() {
    char str[100] = { 0 };
    char* ptr = str;
    int cnt = 0;

    scanf("%s", ptr);

    while ((*ptr) != '\0')
    {
        cnt++;
        ptr++;
    }

    printf("%d", cnt);

    return 0;
}